package com.nanyang.tms.common.dict;

public enum TmsOrderExceptionEnum {
    //错误码 一个服务一个号码：450开头 例如 450001
    ALI_PAY_AUTH_NOT_PASS(450001, "支付宝支付验证不通过"),
    WAIT_USER_A_LI_PAY(450002, "等待支付宝支付"),
    A_LI_PAY_FINISH(450003, "支付宝支付交易完成"),
    ALI_PAY_NOT_SUCCESS(450004, "支付宝支付交易未完成"),
    ORDER_AL_PAYED(450005, "该订单已支付过，请勿重新支付"),
    ORDER_AL_PAY_FAIL(450006, "该订单支付失败，请重新发起支付"),
    CURRENT_ORDER_NOT_EXIST(450007, "订单信息不存在"),



    ;
    /**
     * 错误码
     */
    private int code;

    /**
     * 错误信息
     */
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    private TmsOrderExceptionEnum(int code, String message){
        this.code=code;
        this.message=message;
    }
}
